package org.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.example.domain.TFkBusinessCreditSub;
import org.example.service.TFkBusinessCreditSubService;
import org.example.mapper.TFkBusinessCreditSubMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author 任众
* @description 针对表【t_fk_business_credit_sub(风控公寓授信子表)】的数据库操作Service实现
* @createDate 2023-05-08 16:12:15
*/
@Service
public class TFkBusinessCreditSubServiceImpl extends ServiceImpl<TFkBusinessCreditSubMapper, TFkBusinessCreditSub>
    implements TFkBusinessCreditSubService{
    @Resource
    TFkBusinessCreditSubMapper tFkBusinessCreditSubMapper;
    @Override
    public TFkBusinessCreditSub findByBusinessAndProductId(String businessId, Long jrProductId) {
        return tFkBusinessCreditSubMapper.findByBusinessAndProductId(businessId,jrProductId);
    }
}




